package com.dtp.common.event;

import com.dtp.common.properties.DtpProperties;
import org.springframework.context.ApplicationEvent;

/**
 * 警报检测事件类
 *
 * @author yanhom
 * @since 1.0.0
 *
 * @remark muse
 */
public class AlarmCheckEvent extends ApplicationEvent {
    // 动态线程池的主要配置属性
    private final transient DtpProperties dtpProperties;

    public AlarmCheckEvent(Object source, DtpProperties dtpProperties) {
        super(source);
        this.dtpProperties = dtpProperties;
    }

    public DtpProperties getDtpProperties() {return dtpProperties;}
}
